﻿<!DOCTYPE HTML>
<html>

<head>
    <title>资产借用归还管理</title>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../css/comm.css" />
    <link rel="stylesheet" type="text/css" href="./css/gridlist.css" />
    <style>
    .aui-grid.fixed-top{
      top:35px;
    }
    #main_refresh{
      top:70px;
    }
    </style>
</head>

<body>
    <div id="app">
        <div v-if="!hideeditbtn" class="btnFloat" v-on:click="do_open_operation()">
            <i class="icon iconfont iconfont2 iconxiugai1"></i>
        </div>
        <ul class="aui-tab fixed-top">
            <li class="aui-tab-item" v-on:click="do_select_tab(30)"><span v-bind:class="{'aui-active':form.OrderTypeID==30}">借用单</span></li>
            <li class="aui-tab-item" v-on:click="do_select_tab(40)"><span v-bind:class="{'aui-active':form.OrderTypeID==40}">归还单</span></li>
        </ul>
        <section class="aui-grid fixed-top pt35">
            <div class="aui-row">
                <div class="aui-col-xs-9">
                    <div class="aui-grid-label grey">小计：{{form.totalcount}}</div>
                </div>
                <div class="aui-col-xs-3" v-on:click="do_search()">
                    <div class="aui-grid-label"><span class="search-btn ft110"><i class="icon iconfont iconfilter"></i>筛选</span></div>
                </div>
            </div>
        </section>
        <section id="main_refresh" class="aui-refresh-content">
            <div class="aui-content">
                <ul class="aui-list aui-form-list" v-if="item.OrderTypeID==form.OrderTypeID" v-for="item in list" v-on:click="do_add_item(item.ID,item.OrderTypeID)">
                    <li class="aui-list-header">单号：{{item.Code}}</li>
                    <!--<li class="aui-list-item" v-if="item.OrderTypeID==30">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                借用公司：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.DeptName}}
                            </div>
                        </div>
                    </li>-->
                    <li class="aui-list-item" v-if="item.OrderTypeID==30">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                借用人-部门：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.UserRealName}}-{{item.Abbre}}{{item.UserGW}}
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item" v-if="item.OrderTypeID==30">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                借用后地点：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.LocTitle}}
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item" v-if="item.OrderTypeID==30">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                借用日期：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.FromDateDesc}}
                            </div>
                        </div>
                    </li>

                    <!--<li class="aui-list-item" v-if="item.OrderTypeID==40">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                归还后公司：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.DeptName}}
                            </div>
                        </div>
                    </li>-->
                    <li class="aui-list-item" v-if="item.OrderTypeID==40">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                归还后部门：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.Abbre}}{{item.UserGW}}
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item" v-if="item.OrderTypeID==40">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                归还后地点：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.LocTitle}}
                            </div>
                        </div>
                    </li>
                    <li class="aui-list-item" v-if="item.OrderTypeID==40">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                归还日期：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.FromDateDesc}}
                            </div>
                        </div>
                    </li>

                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                经办人：
                            </div>
                            <div class="aui-list-item-input">
                                {{item.CRUserRealName}}
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </section>
    </div>
</body>
<script type="text/javascript" src="../script/api.js "></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="js/zcjyghlist.js "></script>

</html>
